package cn.edu.scau.entity;

import java.io.Serializable;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
@AllArgsConstructor
@Builder
public class NursingPlan implements Serializable {
    /**
	 * 
	 */
	private static final long serialVersionUID = -2463185792093851419L;

	/**
	 * 顾客编号
	 */
	@Min(value = 1)
	private Integer customerid;

	/**
	 * 护理内容编号
	 */
	@Min(value = 1)
    private Integer nursingcontentid;

    /**
         * 护理等级编号
     */
	@Min(value = 1)
    private Integer nursinglevelid;

    /**
         * 护理周期
     */
	@NotBlank(message = "护理周期不能为空")
    private String nursingplanperiod;

    /**
         * 周期内护理次数
     */
	@Min(value = 1)
    private Integer nursingplanfrequency;

    
}